function Game4SceneIntro()
{
	this.fundo = new Image();
	this.fundo.src="imgs/game4/telaini.png";	
	this.iniciar = new Image();
	this.iniciar.src="imgs/game4/iniciar.png";
	
		this.selecionado = 0;
	
	this.update=function()
   	{
   		
   		
   	};  
   		
    
   
   	this.draw=function()
   	{	
   			
   		  	screen.drawImage(this.fundo, -1, 0);
   		  	screen.drawImage(this.iniciar, 190, 650);
   		  	   			
   	};	
   		
   
   
   	this.mouse_down=function(mouse)
   	{
   		console.log("LEVEL1 mouse X " + mouse.x + " mouse Y " + mouse.y );
   		//Cena_atual = CENAS.LEVEL1;
   	
   	};
   
   	this.key_down=function(key)
   
   	{
   		console.log("LEVEL1 keyCode " + key.keyCode );
   		if(key.keyCode == 40)
    		{
    			if(this.selecionado < 1)
    			{
    				this.selecionado += 1;
    			}
    			
    		}
    			if(key.keyCode == 38)
    			{
    				if(this.selecionado > 0)
    				{	
    					this.selecionado -= 1;
    				}
    			}    			
		
    		if(key.keyCode == 13)
    		{
    				if(this.selecionado == 0)
    				{
    					Cena_atual = CENAS.LEVEL1;
    				}
    				
    				if(this.selecionado == 1)
    				{
    					 Cena_atual = CENAS.INTRO	
    				}
    				
   		
   	};
   	
   	
   	this.key_up=function(key)
   {
   	
   };
   
}
};